<form action="{:url()}" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
        <div class="row">
          <div class="col-md-6">
            <div class="form-group">
              <label>项目名称</label>
              <span>（项目名称，用于前端展示）</span>
              <input class="form-control" name="name" placeholder="请输入项目名称" value="{$info['name']|default=''}" type="text">
            </div>
          </div>
            
          <div class="col-md-6">
            <div class="form-group">
              <label>负责人</label>
              <input class="form-control" name="num" placeholder="请输入负责人" value="{$info['num']|default=''}" type="text">
            </div>
          </div> 
               <div class="col-md-6">
            <div class="form-group">
                <label>项目描述</label>
                <span>（此项目的描述信息）</span>
                <textarea class="form-control" name="describe" rows="3" placeholder="请输入项目描述">{$info['describe']|default=''}</textarea>
            </div>
          </div>
   
        <div class="col-md-6">
            <div class="form-group">
                <label>完成情况</label>
               <select name="degree" class="form-control">
                    <option value="0" {notempty name='info'} {if condition="$info['degree'] eq 0"} selected="selected" {/if}{/notempty}>完成</option>
                    <option value="1"  {notempty name='info'} {if condition="$info['degree'] eq 1"} selected="selected" {/if}{/notempty}>未完成</option>
                </select>
            </div>
          </div>
   <div class="col-md-6">
            <div class="form-group">
                <label>项目图片</label>
                <span>（此项目的图片）</span>
              {assign name="pic" value="$info.pic|default='0'" /}

               {:widget('file/index', ['name' => 'pic', 'value' => $pic, 'type' => 'img'])}
            </div>
          </div>
          </div>
        </div>
        
      <div class="box-footer">
          
        <input type="hidden" name="id" value="{$info['id']|default='0'}"/>
        
        {include file="layout/edit_btn_group"/}
      </div>
        
      </div>

</form>